<%@ page import="org.bjou.UserBaseinfo" %>
<!DOCTYPE html>
<html>
  <head>
     <meta charset="utf-8" />
  
<g:set var="entityName" value="${message(code: 'userBaseinfo.label', default: 'UserBaseinfo')}" />
  <title>CIMS - Reg Page</title>
   <!-- Foundation framework -->
    <link rel="stylesheet" href="${resource(dir: 'foundation', file: 'stylesheets/foundation.css')}" />
    <link rel="stylesheet" href="${resource(dir: 'css', file: 'style.css')}" />
    <!-- Favicons and the like (avoid using transparent .png) -->
    <link rel="shortcut icon" href="favicon.ico" />
    <link rel="apple-touch-icon-precomposed" href="icon.png" />
  </head>
</head>

  <body class="ptrn_a grdnt_a">
    <div class="container">
      <div class="row">
        <div class="eight columns centered">

        </div>
      </div>
      <div class="row">
        <div class="eight columns centered">
          <div class="login_box">
            <div class="lb_content">
               <div class="cf">
                <h2 class="lb_ribbon lb_blue"><span>新用户注册</span></h2>
              
              </div>
              <div class="row m_cont">
                <div class="eight columns centered">
                  <div class="l_pane">
                    <g:hasErrors bean="${userBaseinfoInstance}">
                      <ul class="errors" role="alert">
                        <g:eachError bean="${userBaseinfoInstance}" var="error">
                          <li <g:if test="${error in org.springframework.validation.FieldError}">data-field-id="${error.field}"</g:if>><g:message error="${error}"/></li>
                        </g:eachError>
                      </ul>
                    </g:hasErrors>
                    <g:form controller="UserBaseinfo" action="reg" method="post" class="nice">
                       <g:if test="${flash.message}">
                        <div class="message">${flash.message} <a href="" class="close">&times;</a></div>
                      </g:if>
                       
                    <div class="cf">
                        <p class="sepH_b">注意事项：</p>
                        <div class="elVal">
                         姓名<g:textField name="fullname" value="${userBaseinfoInstance?.fullname}" class="oversize expand input-text"/>
                        </div>
                        <div class="fieldcontain ${hasErrors(bean: userBaseinfoInstance, field: 'email', 'error')} elVal required">
                        
                            邮箱
                         
                          <g:textField name="email" value="${userBaseinfoInstance?.email}" class="oversize expand input-text"/>
                        </div>
                        <div class="fieldcontain ${hasErrors(bean: userBaseinfoInstance, field: 'idCard', 'error')} elVal required">
                         身份证
                          <g:textField name="idCard" value="${userBaseinfoInstance?.idCard}" class="oversize expand input-text"/>
                        </div>

                      </div>
                         
                      <div class="cf">
                        <g:submitButton name="reg" class="button small radius right black" value="注册" />
                        

                      </div>

                    </g:form>


                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
   

    
  </body>
</html>

